package com.example.dormitory_manager.service;

import com.example.dormitory_manager.entity.DormitoryAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dormitory_manager.form.RuleForm;
import com.example.dormitory_manager.form.SearchForm;
import com.example.dormitory_manager.vo.PageVo;
import com.example.dormitory_manager.vo.ResultVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2022-10-02
 */
public interface DormitoryAdminService extends IService<DormitoryAdmin> {
    public ResultVo login(RuleForm ruleForm);
    public PageVo list (Integer page,Integer size);
    public PageVo search(SearchForm searchForm);
}
